<template>
  <div id="rootfooter">
<van-tabbar v-model="active">
  <van-tabbar-item icon="home-o" to='/myhome'>首页</van-tabbar-item>
  <van-tabbar-item icon="apps-o">分类</van-tabbar-item>
  <van-tabbar-item icon="shopping-cart-o">购物车</van-tabbar-item>
  <van-tabbar-item icon="contact">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>

import { ref } from 'vue';
export default {
  setup() {
    const active = ref(0);
    return { active };
  },
};
</script>

<style>

</style>